import { Component, OnInit, Input } from '@angular/core';
import { PageModalService } from './../../shared/service/page-modal-service';

@Component({
  selector: 'app-refund-destination',
  templateUrl: './refund-destination.component.html',
  styleUrls: ['./refund-destination.component.scss'],
})
export class RefundDestinationComponent implements OnInit {
  @Input() tagData: any;
  constructor(
    public pageModalService: PageModalService,
  ) { }

  ngOnInit() {
  }

  openPage(link) {
    this.pageModalService.openPage(link);
  }

  getInterger(value) {
    return parseInt(value , 10);
  }
}
